package com.woniuxy.service;

import com.woniuxy.controller.form.Addchannelform;
import com.woniuxy.controller.form.Delechannelform;
import com.woniuxy.controller.form.FindAllChannelform;
import com.woniuxy.controller.form.FindChannelBylikeform;
import com.woniuxy.exception.DdException;
import com.woniuxy.exception.DelechannelIsNullExption;
import com.woniuxy.exception.ShopCodeCopeExption;
import com.woniuxy.model.Channel;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.utils.Result;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hujianying
 * @since 2022-03-25
 */
public interface ChannelService extends IService<Channel> {

    Result findchannelpage(FindAllChannelform findAllChannelform);

    Result findchannelpagelike(FindChannelBylikeform findAllChannelform);

    Result delechannel(Delechannelform delechannelform) throws DelechannelIsNullExption, DdException;

    Result addchannel(Addchannelform addchannelform) throws ShopCodeCopeExption, DdException;
}
